package com.efounder.news.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by slp on 2018/2/7.
 */

public class ChannelListBean implements Parcelable {

    /**
     * channel_name : 油田新闻
     * channel_id : 0001
     */

    private String channel_name;
    private String channel_id;

    public String getChannel_name() {
        return channel_name;
    }

    public void setChannel_name(String channel_name) {
        this.channel_name = channel_name;
    }

    public String getChannel_id() {
        return channel_id;
    }

    public void setChannel_id(String channel_id) {
        this.channel_id = channel_id;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.channel_name);
        dest.writeString(this.channel_id);
    }

    public ChannelListBean() {
    }

    protected ChannelListBean(Parcel in) {
        this.channel_name = in.readString();
        this.channel_id = in.readString();
    }

    public static final Parcelable.Creator<ChannelListBean> CREATOR = new Parcelable.Creator<ChannelListBean>() {
        @Override
        public ChannelListBean createFromParcel(Parcel source) {
            return new ChannelListBean(source);
        }

        @Override
        public ChannelListBean[] newArray(int size) {
            return new ChannelListBean[size];
        }
    };
}
